package com.hrc.comsumer.controller;

import com.hrc.api.Test1;
import com.hrc.rpc.annotation.RpcReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @RpcReference
    private Test1 test1;
    @RequestMapping("/test1")
    public String  test1() {
        test1.test1();
        return "test1";
    }
}
